/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package demo.jdbc;

/**
 *
 * @author VANDH
 */
public class Product {
    
    private String productCode;

    public String getProductCode() {
        return productCode;
    }

    public void setProductCode(String productCode) {
        this.productCode = productCode;
    }
    private String name;

    public String getName() {
        return name;
    }
    private double price;

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return name;
    }

}
